package com.example.jpa.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.time.LocalDateTime;

/**
 * @author qilongxin
 * @date 2021/8/27 10:00
 */
@Data
public class StudentInfDTO {

    @ApiModelProperty(value = "姓名", name = "name")
    private String name;

    @ApiModelProperty(value = "英文名", name = "english_name")
    private String englishName;

    @ApiModelProperty(value = "年龄", name = "age")
    private Integer age;

    @ApiModelProperty(value = "地址", name = "address")
    private String address;

    @ApiModelProperty(value = "性别", name = "gender")
    private String gender;

    @ApiModelProperty(value = "班级", name = "clazz_code")
    private Long clazzCode;

    @ApiModelProperty(value = "创建时间", name = "create_time")
    private LocalDateTime createTime;

}
